Mint\MRM\DataBase\Models\EmailModel C

Total Complexity 123
Dependencies 7
Dependents 11
Total lines 1,267
Lines of code 662
Logical lines of code 456
Comment lines 495
Methods 49
Properties 0

Methods 49

Method Rating Maintainability Complexity Lines of code
get_order_total_from_email()
B
40 20 55
get_order_ids_for_all()
A
43 12 42
get_order_total_for_month()
A
48 8 28
get_emails_to_contact()
S
48 6 31
get_order_total_for_quarterly()
S
49 5 28
last_opened_email_single_contact()
S
54 5 19
get_order_ids_for_week()
S
51 4 24
get_messages()
S
54 4 19
count_email_open_click_on_contact()
S
57 4 15
get_all_order_ids_from_email()
S
62 4 11
get_order_total_for_all_yearly()
S
53 3 20
get_order_total_for_week()
S
50 2 25
get_order_ids_for_all_yearly()
S
54 2 19
get_order_ids_for_quarterly()
S
54 2 19
insert_or_update_email_meta()
S
57 2 18
get_order_ids_for_month()
S
56 2 17
get_order_ids_for_year()
S
56 2 17
count_total_email_open_on_device()
S
56 2 16
count_total_email_click_on_device()
S
56 2 16
get_order_total_for_year()
S
50 1 28
delete_scheduled_emails_meta()
S
59 2 13
is_email_meta_exist()
S
63 2 10
update_broadcast_email_meta()
S
61 1 13
get_total_revenue_from_email()
S
70 1 5
get_broadcast_email_meta()
S
70 1 5
count_total_orders_to_campaign_email()
S
68 1 6
count_total_revenue_to_campaign_email()
S
68 1 6
delete_scheduled_emails()
S
67 1 7
insert()
S
64 1 10
get_contact_id_by_hash()
S
71 1 5
calculate_click_rate_on_campaign()
S
68 1 6
update()
S
71 1 5
update_email_by_hash()
S
71 1 5
insert_email_meta()
S
65 1 9
get_emails_to_contact_details()
S
71 1 5
count_delivered_status()
S
71 1 5
count_email_open()
S
68 1 6
calculate_open_rate_on_campaign()
S
68 1 6
calculate_bounched_on_campaign()
S
71 1 5
count_delivered_status_single_contact()
S
71 1 5
count_delivered_status_on_campaign()
S
71 1 5
count_unsubscribe()
S
68 1 6
count_unsubscribe_on_campaign()
S
68 1 6
count_per_hour_total_email_open()
S
66 1 7
count_per_hour_total_link_click()
S
66 1 7
count_four_hours_email_open()
S
68 1 6
count_email_click()
S
68 1 6
insert_broadcast_email_meta()
S
66 1 9
get_broadcast_email_by_hash()
S
69 1 6